<?php if($uid AND isset($load_select_btn) AND ($uid==$thread['uid'] || $user['gid']=='1') ){?>
<a data-href="<?php echo url("post-offer_select-$_post[pid]");?>" data-confirm-text="您是否要采纳为悬赏答案？采纳后将无法撤销！" href="javascript:void(0);" class="text-grey _confirm mr-3 post_select_offer"><i class="icon-check" style="color:red;" title="<?php echo lang('offer');?>"></i> <span class="d-none"><?php echo lang('offer');?></span></a>
<?php }?>